package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.pojo.Permission;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface PermissionService {
    List<Permission> findAll();

    List<Integer> getPermissionByRoleId(Integer id);
}
